package link.bosswang.easyexcel.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import link.bosswang.easyexcel.annos.CustomeMergeAnno;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName: EasyExcelItemVo
 * @Description: 'easyExcel 导出vo'
 * @Author: 'Wei.Wang'
 * @Date: 2021/8/8 8:20 下午
 **/
@ColumnWidth(20)
public class EasyExcelItemVo implements Serializable {

    /**
     * 商品主图
     */
    @ExcelProperty(value = "商品主图")
    @CustomeMergeAnno(needMerge = true)
    private byte[] image;
    /**
     * 商品标题
     */
    @ExcelProperty(value = "商品标题")
    @CustomeMergeAnno(needMerge = true)
    private String itemTitle;
    /**
     * 商品Id
     */
    @ExcelProperty(value = "商品Id")
    @CustomeMergeAnno(needMerge = true, isPk = true)
    private String itemId;
    /**
     * 商品商家编码
     */
    @ExcelProperty(value = "商品商家编码")
    @CustomeMergeAnno(needMerge = true)
    private String itemOuterId;
    /**
     * 商品一口价
     */
    @ExcelProperty(value = "商品一口价")
    @CustomeMergeAnno(needMerge = true)
    private BigDecimal itemPrice;

    /**
     * skuID
     */
    @ExcelProperty(value = "skuID")
    @CustomeMergeAnno(needMerge = false)
    private String skuId;
    /**
     * sku规格
     */
    @ExcelProperty(value = "sku规格")
    @CustomeMergeAnno(needMerge = false)
    private String skuPro;
    /**
     * sku商家编码
     */
    @ExcelProperty(value = "sku商家编码")
    @CustomeMergeAnno(needMerge = false)
    private String skuOuterId;
    /**
     * sku价格
     */
    @ExcelProperty(value = "sku价格")
    @CustomeMergeAnno(needMerge = false)
    private BigDecimal skuPrice;

    public byte[] getImage() {
        return image;
    }

    public void setImage(byte[] image) {
        this.image = image;
    }

    public String getItemTitle() {
        return itemTitle;
    }

    public void setItemTitle(String itemTitle) {
        this.itemTitle = itemTitle;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getItemOuterId() {
        return itemOuterId;
    }

    public void setItemOuterId(String itemOuterId) {
        this.itemOuterId = itemOuterId;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public String getSkuPro() {
        return skuPro;
    }

    public void setSkuPro(String skuPro) {
        this.skuPro = skuPro;
    }

    public String getSkuOuterId() {
        return skuOuterId;
    }

    public void setSkuOuterId(String skuOuterId) {
        this.skuOuterId = skuOuterId;
    }

    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(BigDecimal skuPrice) {
        this.skuPrice = skuPrice;
    }
}
